Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NNode Class / GetLastDescendant Method / GetLastDescendant<TNode>() Method
The node type to search for.


In This Topic
    GetLastDescendant<TNode>() Method
    In This Topic
    Gets the first descendant node of the given type. This method visits descendants in Depth-First Pre-Order. Children are enumerated in forward order (from first to last).
    Syntax
    'Declaration
     
    
    Public Overloads Function GetLastDescendant(Of TNode As NNode)() As TNode
    'Usage
     
    
    Dim instance As NNode
    Dim value As TNode
     
    value = instance.GetLastDescendant(Of TNode)()
    public TNode GetLastDescendant<TNode>()
    where TNode: NNode

    Type Parameters

    TNode
    The node type to search for.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also